﻿@model SAD.Models.Account
@{
    ViewBag.Title = "Login";
    Layout = "~/Views/Shared/_Layout.cshtml";
}


@using (Html.BeginForm())
{
  
    <div align="center">
        <table>
            <tr>
                <td>Account : 
                </td>
                <td>
                    @Html.TextBox("acc")
                </td>

            </tr>
            <tr>
                <td>Password : 
                </td>
                <td>
                    @Html.TextBox("pass")
                </td>
            </tr>
            <tr>
                <td>
                    <input type="submit" value="Login" />
                </td>
                <td>
                    <input type="reset" value="Reset" />
                </td>
            </tr>
        </table>
        <h3>
            @if (ViewBag.erro != null)
    {
    <a style="color: red">@ViewBag.erro</a>
            }</h3>
    </div>
}